package com.bwie.common.pojo;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 退款申请表
 * </p>
 *
 * @author liuxin
 * @since 2025-04-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_refunds")
@ApiModel(value="TRefunds对象", description="退款申请表")
public class Refunds implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "退款ID")
    @TableId(value = "refund_transaction_id", type = IdType.AUTO)
    private Long refundTransactionId;

    @ApiModelProperty(value = "交易流水号")
    private String transactionNumber;

    @ApiModelProperty(value = "退款金额")
    private BigDecimal refundAmount;

    @ApiModelProperty(value = "退款状态（0:处理中, 1:成功, 2:失败）")
    private Integer refundStatus;

    @ApiModelProperty(value = "审核人")
    private Long userId;

    @ApiModelProperty(value = "退款原因")
    private String reasonForRefund;

    @ApiModelProperty(value = "申请时间")
    private LocalDateTime applicationTime;

    @ApiModelProperty(value = "逻辑删除")
    private Integer isDelete;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;


}
